function motion () {
    const Xml =
    // '<category name="Arduino" id="Arduino" colour="#00979D" secondaryColour="#00979D">' +
    //     '<block type="control_setup_loop" disabled="false">' +
    //     '</block>' +
    //   '<block type="inout_pinMode1" id="inout_pinMode1">'+
    // '</block>'+
    //   '<block type="digitalWrite" id="digitalWrite">'+
    //   '</block>'+
    //   '<block type="analogWrite" id="analogWrite">'+
    //   '<value name="analogWrites">' +
    //     '<shadow type="math_number">' +
    //       '<field name="NUM">100</field>' +
    //     '</shadow>' +
    //   '</value>' +
    //   '</block>'+
    //   '<block type="digitalRead" id="digitalRead">'+
    //   '</block>'+
    //   '<block type="analogRead" id="analogRead">'+
    //   '</block>'+
    //    '<block type="timer" id="timer">'+
    //    '<value name="timers">' +
    //     '<shadow type="math_number">' +
    //       '<field name="NUM">500</field>' +
    //     '</shadow>' +
    //   '</value>' +
    //   '</block>'+
    //   '<block type="timeron" id="timeron">'+
    //   '</block>'+
    //   '<block type="timeroff" id="timeroff">'+
    //   '</block>'+
    //     '<block type="runtime" id="runtime">'+
    //   '</block>'+
    //       '<block type="pininterrupt" id="pininterrupt">'+
    //   '</block>'+
    //       '<block type="pulse" id="pulse">'+
    //   '</block>'+
    //         '<block type="pulse2" id="pulse2">'+
    // 		'<value name="pulse2s">' +
    //     '<shadow type="math_number">' +
    //       '<field name="NUM">1000000</field>' +
    //     '</shadow>' +
    //   '</value>' +
    //   '</block>'+
    //   // '<block type="changetype" id="changetype">'+
    //   // '<value name="changetypes">' +
    //   //   '<shadow type="math_number">' +
    //   //     '<field name="NUM">123</field>' +
    //   //   '</shadow>' +
    //   // '</value>' +
    //   // '</block>'+
    //   //  '<block type="changetypes" id="changetypes">'+
    //   // '<value name="changetypess">' +
    //   //   '<shadow type="text">' +
    //   //     '<field name="TEXT">hello</field>' +
    //   //   '</shadow>' +
    //   // '</value>' +
    //   // '</block>'+
    //   '</category>' +
    //   //串口
    //   '<category name="%{BKY_ARDUINO_SERIALS}" id="serial" colour="#FF4482" secondaryColour="#FF4482">' +
    //   '<block type="serialbegin" id="serialbegin">'+
    //   '<field name="serialbegins">9600</field>' +
    //   '</block>'+
    //   '<block type="serialprintstring" id="serialprintstring">'+
    //   '<value name="serialprints1">' +
    //     '<shadow type="text">' +
    //       '<field name="TEXT">hello</field>' +
    //     '</shadow>' +
    //   '</value>' +
    //   '</block>'+
    //   '<block type="serialprint" id="serialprint">'+
    //   '<value name="serialprints">' +
    //     '<shadow type="text">' +
    //       '<field name="TEXT">hello</field>' +
    //     '</shadow>' +
    //   '</value>' +
    //   '</block>'+
    //   '<block type="serialprintnum1" id="serialprintnum1">'+
    //   '<value name="serialprintsss">' +
    //     '<shadow type="math_number">' +
    //       '<field name="NUM">0</field>' +
    //     '</shadow>' +
    //   '</value>' +
    //   '</block>'+
    //   '<block type="serialprintnum" id="serialprintnum">'+
    //   '<value name="serialprintss">' +
    //     '<shadow type="math_number">' +
    //       '<field name="NUM">0</field>' +
    //     '</shadow>' +
    //   '</value>' +
    //   '</block>'+
    //   '<block type="serialprint16num" id="serialprint16num">'+
    //   '<value name="serialprint16nums">' +
    //     '<shadow type="math_number">' +
    //       '<field name="NUM">0</field>' +
    //     '</shadow>' +
    //   '</value>' +
    //   '</block>'+
    //   '<block type="serialava" id="serialava">'+
    //   '</block>'+
    //   '<block type="serialread" id="serialread">'+
    //   '</block>'+
    //   '<block type="softserial" id="softserial">'+
    //   '</block>'+
    //    '<block type="serial_event" id="serial_event">'+
    //   '</block>'+
    //    '<block type="serial_flush" id="serial_flush">'+
    //   '</block>'+
    //    '<block type="serial_read" id="serial_read">'+
    //    '<value name="serialprints2">' +
    //     '<shadow type="text">' +
    //       '<field name="TEXT">a</field>' +
    //     '</shadow>' +
    //   '</value>' +
    //   '</block>'+
    //   '<block type="serialreadint" id="serialreadint">'+
    //   '</block>'+
    //   '</category>' +

  

//基础模块
'<category name="%{BKY_BASE_MODEL}" id="baseModel" colour="#179b73" secondaryColour="#179b73">' +
'<block type="motorDriverBoard_button" id="motorDriverBoard_button">'+
'</block>'+
'<block type="motorDriverBoard_touch" id="motorDriverBoard_touch">'+
'</block>'+
'<block type="motorDriverBoard_knockswitch" id="motorDriverBoard_knockswitch">'+
'</block>'+
'<block type="motorDriverBoard_resistance" id="motorDriverBoard_resistanceo">'+
'</block>'+
'<block type="motorDriverBoard_ec11Init" id="motorDriverBoard_ec11Init">'+
'</block>'+
'<block type="motorDriverBoard_ec11" id="motorDriverBoard_ec11">'+
'</block>'+
'<block type="motorDriverBoard_ec11ButtonPushDown" id="motorDriverBoard_ec11ButtonPushDown">'+
'</block>'+
'<block type="motorDriverBoard_piano" id="motorDriverBoard_piano">'+
'</block>'+
'<block type="motorDriverBoard_slipresistance" id="motorDriverBoard_slipresistance">'+
'</block>'+
'<block type="motorDriverBoard_rock" id="motorDriverBoard_rock">'+
'</block>'+
'<block type="motorDriverBoard_matrixKeyboardInit" id="motorDriverBoard_matrixKeyboardInit">'+
'</block>'+
'<block type="motorDriverBoard_matrixKeyboardFunc" id="motorDriverBoard_matrixKeyboardFunc">'+
'</block>'+
'<block type="motorDriverBoard_getMatrixKeyboardValue" id="motorDriverBoard_getMatrixKeyboardValue">'+
'</block>'+
'</category>'  +
//传感器
'<category name="%{BKY_MOTORDRIVERBOARD_SENSOR}" id="sensor" colour="#28BFE6" secondaryColour="#28BFE6">' +
'<block type="motorDriverBoard_vioce" id="motorDriverBoard_vioce">'+
'</block>'+
'<block type="motorDriverBoard_light" id="motorDriverBoard_light">'+
'</block>'+
'<block type="motorDriverBoard_thermosensitive" id="motorDriverBoard_thermosensitive">'+
'</block>'+
'<block type="motorDriverBoard_fire" id="motorDriverBoard_fire">'+
'</block>'+

'<block type="motorDriverBoard_abstacle" id="motorDriverBoard_abstacle">'+
'</block>'+

'<block type="motorDriverBoard_soil" id="motorDriverBoard_soil">'+
'</block>'+
'<block type="motorDriverBoard_rain" id="motorDriverBoard_rain">'+
'</block>'+
'<block type="motorDriverBoard_waterdeep" id="motorDriverBoard_waterdeep">'+
'</block>'+

'<block type="motorDriverBoard_dht11" id="motorDriverBoard_dht11">'+
'</block>'+
'<block type="motorDriverBoard_ds" id="motorDriverBoard_ds">'+
'</block>'+
'<block type="motorDriverBoard_lm35" id="motorDriverBoard_lm35">'+
'</block>'+
'<block type="motorDriverBoard_readds" id="motorDriverBoard_readds">'+
'</block>'+
'<block type="motorDriverBoard_air" id="motorDriverBoard_air">'+
'</block>'+
'<block type="motorDriverBoard_body" id="motorDriverBoard_body">'+
'</block>'+
'<block type="motorDriverBoard_track" id="motorDriverBoard_track">'+
'</block>'+
'<block type="motorDriverBoard_mpu" id="motorDriverBoard_mpu">'+
'</block>'+
'<block type="motorDriverBoard_handleGestureInit" id="motorDriverBoard_handleGestureInit">'+
'</block>'+
'<block type="motorDriverBoard_gesture" id="motorDriverBoard_gesture">'+
'</block>'+
'<block type="motorDriverBoard_gestureStatus" id="motorDriverBoard_gestureStatus">'+
'</block>'+
'<block type="motorDriverBoard_handle_gesture" id="motorDriverBoard_handle_gesture">'+
'</block>'+
'<block type="motorDriverBoard_reed_switch" id="motorDriverBoard_reed_switch">'+
'</block>'+
'<block type="motorDriverBoard_grayscale" id="motorDriverBoard_grayscale">'+
'</block>'+
'<block type="motorDriverBoard_shock" id="motorDriverBoard_shock">'+
'</block>'+
'<block type="motorDriverBoard_tilt" id="motorDriverBoard_tilt">'+
'</block>'+
'<block type="motorDriverBoard_ultrasonic" id="motorDriverBoard_ultrasonic">'+
'</block>'+
'<block type="motorDriverBoard_rgbUltrasonicInit" id="motorDriverBoard_rgbUltrasonicInit">'+
'</block>'+
'<block type="motorDriverBoard_rgbultrasonicsetcolorstyle" id="motorDriverBoard_rgbultrasonicsetcolorstyle">'+
`<value name="COLOR">
<shadow type="colour_picker"/>
</value>` + 
'</block>'+
   '<block type="motorDriverBoard_rgbultrasonicreaddistance" id="motorDriverBoard_rgbultrasonicreaddistance">'+
'</block>'+
'<block type="motorDriverBoard_initds1302" id="motorDriverBoard_initds1302">'+
'</block>'+
'<block type="motorDriverBoard_setds1302date" id="motorDriverBoard_setds1302date">'+
'<value name="year">' +
'<shadow type="math_number">' +
  '<field name="NUM">2019</field>' +
'</shadow>' +
'</value>' +
'<value name="month">' +
'<shadow type="math_number">' +
  '<field name="NUM">8</field>' +
'</shadow>' +
'</value>' +
'<value name="day">' +
'<shadow type="math_number">' +
  '<field name="NUM">1</field>' +
'</shadow>' +
'</value>' +
'</block>'+
'<block type="motorDriverBoard_setds1302time" id="motorDriverBoard_setds1302time">'+
'<value name="hour">' +
'<shadow type="math_number">' +
  '<field name="NUM">8</field>' +
'</shadow>' +
'</value>' +
'<value name="minute">' +
'<shadow type="math_number">' +
  '<field name="NUM">0</field>' +
'</shadow>' +
'</value>' +
'<value name="second">' +
'<shadow type="math_number">' +
  '<field name="NUM">0</field>' +
'</shadow>' +
'</value>' +
'</block>'+

'<block type="motorDriverBoard_getds1302date" id="motorDriverBoard_getds1302date">'+
'</block>'+
'</category>' +
//执行器
'<category name="%{BKY_MOTORDRIVERBOARD_ACTION}" id="actuator" colour="#FF0000" secondaryColour="#FF0000">'
+ '<block type="motorDriverBoard_motor" id="motorDriverBoard_motor">'+
    '<value name="motorSpeed">' +
        '<shadow type="math_number">' +
            '<field name="NUM">255</field>' +
                  '</shadow>' +
            '</value>' +
'</block>'+
'<block type="motorDriverBoard_dcMotorDriver" id="motorDriverBoard_dcMotorDriver">'+
'<value name="phDcMotors1">' +
'<shadow type="math_number">' +
  '<field name="NUM1">100</field>' +
'</shadow>' +
'</value>' +
'<value name="phDcMotors2">' +
'<shadow type="math_number">' +
  '<field name="NUM2">100</field>' +
'</shadow>' +
'</value>' +
'</block>'+


'<block type="motorDriverBoard_servo" id="motorDriverBoard_servo">'+
'<value name="phservoangle">' +
'<shadow type="math_number">' +
  '<field name="NUM">0</field>' +
'</shadow>' +
'</value>' +
'</block>'+
'<block type="motorDriverBoard_relay" id="motorDriverBoard_relay">'+
'</block>'+
'<block type="motorDriverBoard_laser" id="motorDriverBoard_laser">'+
'</block>'+
'<block type="motorDriverBoard_buzzer" id="motorDriverBoard_buzzer">'+
  '<value name="buzzers">' +
    '<shadow type="math_number">' +
      '<field name="NUM">300</field>' +
    '</shadow>' +
  '</value>' +
  '<value name="time">' +
    '<shadow type="math_number">' +
      '<field name="NUM1">1000</field>' +
    '</shadow>' +
  '</value>' +
'</block>'+
'<block type="motorDriverBoard_buzzerplay2" id="motorDriverBoard_buzzerplay2">'+
'</block>'+
      '<block type="motorDriverBoard_buzzer1" id="motorDriverBoard_buzzer1  ">'+
      '<value name="play_time">' +
        '<shadow type="math_number">' +
          '<field name="NUM1">1000</field>' +
        '</shadow>' +
      '</value>' +
      '</block>'+
      '<block type="motorDriverBoard_irsend" id="motorDriverBoard_irsend">'+
      '<value name="irdata2">' +
        '<shadow type="text">' +
          '<field name="TEXT">0x89ABCDEF</field>' +
          '</shadow>' +
      '</value>' +
      '<value name="irbyte2">' +
        '<shadow type="text">' +
          '<field name="TEXT">32</field>' +
            '</shadow>' +
              '</value>' +
          '</block>'+
  '<block type="motorDriverBoard_irreceive" id="motorDriverBoard_irreceive">'+
        '</block>'+
  '<block type="motorDriverBoard_irreceivedata" id="motorDriverBoard_irreceivedata">'+
        '</block>'+
        '<block type="motorDriverBoard_irKeyPress" id="motorDriverBoard_irKeyPress">'+
'</block>'+
'<block type="motorDriverBoard_emakefunIrKeyPress" id="motorDriverBoard_emakefunIrKeyPress">'+
'</block>'+
'</category>' +
//显示器
'<category name="%{BKY_MOTORDRIVERBOARD_SHOW}" id="display" colour="#f59057" secondaryColour="#f59057">' +
'<block type="motorDriverBoard_led" id="motorDriverBoard_led">'+
'</block>'+
'<block type="motorDriverBoard_20lcdinit" id="motorDriverBoard_20lcdinit">'+
'<value name="lcdinits">' +
'<shadow type="text">' +
  '<field name="TEXT">0x27</field>' +
'</shadow>' +
'</value>' +
'</block>'+
'<block type="motorDriverBoard_20lcdposition" id="motorDriverBoard_20lcdposition">'+
'<value name="col">' +
'<shadow type="math_number">' +
  '<field name="NUM">1</field>' +
'</shadow>' +
'</value>' +
'<value name="row">' +
'<shadow type="math_number">' +
  '<field name="NUM">1</field>' +
'</shadow>' +
'</value>' +
'</block>'+
'<block type="motorDriverBoard_20lcdprint" id="motorDriverBoard_20lcdprint">'+
'<value name="lcdprints">' +
'<shadow type="text">' +
  '<field name="TEXT">hello</field>' +
'</shadow>' +
'</value>' +
'</block>'+
'<block type="motorDriverBoard_20lcdclear" id="motorDriverBoard_20lcdclear">'+
'</block>'+
'<block type="motorDriverBoard_tm1650" id="motorDriverBoard_tm1650">'+
  '</block>'+
'<block type="motorDriverBoard_tm1650display" id="motorDriverBoard_tm1650display">'+
      '<value name="tm1650displays">' +
        '<shadow type="text">' +
          '<field name="TEXT">1234</field>' +
          '</shadow>' +
      '</value>' +
  '</block>'+
'<block type="motorDriverBoard_tm1650displaypoint" id="motorDriverBoard_tm1650displaypoint">'+
  '</block>'+
'<block type="motorDriverBoard_tm1637" id="motorDriverBoard_tm1637">'+
    '</block>'+
'<block type="motorDriverBoard_tm1637setlight" id="motorDriverBoard_tm1637setlight">'+
'<value name="tm1637setlights">' +
'<shadow type="math_number">' +
    '<field name="NUM">20</field>' +
          '</shadow>' +
    '</value>' +
    '</block>'+
'<block type="motorDriverBoard_tm1637display" id="motorDriverBoard_tm1637display">'+
              '<value name="tm1637displays">' +
                '<shadow type="text">' +
                  '<field name="TEXT">1234</field>' +
                  '</shadow>' +
              '</value>' +
    '</block>'+
    '<block type="motorDriverBoard_tm1637displayPoint" id="motorDriverBoard_tm1637displayPoint">'+
             
    '</block>'+
'<block type="motorDriverBoard_tm1637displaytime" id="motorDriverBoard_tm1637displaytime">'+
        '<value name="tm1637displaytime1">' +
          '<shadow type="math_number">' +
            '<field name="NUM">11</field>' +
            '</shadow>' +
        '</value>' +
        '<value name="tm1637displaytime2">' +
          '<shadow type="math_number">' +
            '<field name="NUM">30</field>' +
              '</shadow>' +
                '</value>' +
'</block>'+
'<block type="motorDriverBoard_tm1637clear" id="motorDriverBoard_tm1637clear">'+
      '</block>'+
  '<block type="motorDriverBoard_max" id="motorDriverBoard_max">'+
  '<value name="maxs">' +
    '<shadow type="math_number">' +
      '<field name="NUM">1</field>' +
      '</shadow>' +
  '</value>' +
          '</block>'+
  '<block type="motorDriverBoard_maxpoint" id="motorDriverBoard_maxpoint">'+
          
  '</block>'+
  '<block type="motorDriverBoard_x8leddisplay" id="motorDriverBoard_x8leddisplay">'+
  '</block>'+
  '<block type="motorDriverBoard_trafficlights" id="motorDriverBoard_trafficlights">'+
  '<value name="lightTime">' +
    '<shadow type="math_number">' +
      '<field name="NUM">1</field>' +
      '</shadow>' +
  '</value>' +
  '</block>'+
  '<block type="motorDriverBoard_rgbcolor" id="motorDriverBoard_rgbcolor">'+
          `  <value name="COLOR">
          <shadow type="colour_picker"/>
      </value>` +     
  '</block>' + 
  '<block type="motorDriverBoard_ringRgbColorInit" id="motorDriverBoard_ringRgbColorInit">'+
  '</block>'+
  '<block type="motorDriverBoard_setRingRgbLight" id="motorDriverBoard_setRingRgbLight">'+
    '<value name="rgbLight">' +
    '<shadow type="math_number">' +
      '<field name="NUM0">10</field>' +
      '</shadow>' +
  '</value>' +
  '</block>'+
  '<block type="motorDriverBoard_ringRgbColor" id="motorDriverBoard_ringRgbColor">'+
  '<value name="total">' +
  '<shadow type="math_number">' +
    '<field name="NUM0">12</field>' +
    '</shadow>' +
'</value>' +
'<value name="start">' +
  '<shadow type="math_number">' +
    '<field name="NUM4">1</field>' +
    '</shadow>' +
'</value>' +
'<value name="end">' +
  '<shadow type="math_number">' +
    '<field name="NUM5">12</field>' +
    '</shadow>' +
'</value>' +
'<value name="lightTime">' +
'<shadow type="math_number">' +
    '<field name="NUM6">500</field>' +
    '</shadow>' +
    '</value>' +
    '<value name="COLOR">'+
    '<shadow type="colour_picker"/>'+
    '</value>' +
  '</block>' +
'</category>' 
+



'<category name="MotorDriverBoard" id="MotorDriverBoard" colour="#0097A7" secondaryColour="#0097A7">' +
'<block type="md_mdinit" id="md_mdinit">'+
  '</block>'+
 '<block type="md_servoinit" id="md_servoinit">'+
'</block>'+
'<block type="md_servodegree" id="md_servodegree">'+
'<value name="servodegrees">' +
    '<shadow type="math_number">' +
      '<field name="NUM">90</field>' +
    '</shadow>' +
  '</value>' +
'</block>'+
	 '<block type="md_dcmotorinit" id="md_dcmotorinit">'+
'</block>'+
 '<block type="md_dcmotorspeed" id="md_dcmotorspeed">'+
'<value name="dcmotorspeeds">' +
    '<shadow type="math_number">' +
      '<field name="NUM">0</field>' +
    '</shadow>' +
  '</value>' +
'</block>'+
 '<block type="md_stodcpmotor" id="md_stopdcmotor">'+
'</block>'+
	 '<block type="md_enmotorinit" id="md_enmotorinit">'+
'</block>'+
 '<block type="md_enmotorspeed" id="md_enmotorspeed">'+
'<value name="enmotorspeeds">' +
    '<shadow type="math_number">' +
      '<field name="NUM">0</field>' +
    '</shadow>' +
  '</value>' +
'</block>'+
'<block type="md_stopenmotor" id="md_stopenmotor">'+
'</block>'+
 '<block type="md_stepmotorinit" id="md_stepmotorinit">'+
'<value name="stepsperround">' +
    '<shadow type="math_number">' +
      '<field name="NUM">100</field>' +
    '</shadow>' +
  '</value>' +
'</block>'+
'<block type="md_stepmotorspeed" id="md_stepmotorspeed">'+
'<value name="totalstep">' +
    '<shadow type="math_number">' +
      '<field name="NUM">200</field>' +
    '</shadow>' +
  '</value>' +
  '<value name="stepmotorspeed">' +
    '<shadow type="math_number">' +
      '<field name="NUM">60</field>' +
    '</shadow>' +
  '</value>' +
'</block>'+
'<block type="md_stopstepper" id="md_stopstepper">'+
'</block>'+
'<block type="md_rgbinit" id="md_rgbinit">'+
'</block>'+
'<block type="md_rgbcolor" id="md_rgbcolor">'+
'<value name="COLOR">'+
  '<shadow type="colour_picker"/>'+
'</value>'+
  '<value name="rgbbrightness">' +
    '<shadow type="math_number">' +
      '<field name="NUM">255</field>' +
    '</shadow>' +
  '</value>' +
'</block>'+
// '<block type="md_rgbcolor2" id="md_rgbcolor2">'+
// '<value name="COLOR">'+
//   '<shadow type="colour_picker"/>'+
// '</value>'+
//    '<value name="rgbbrightness2">' +
//     '<shadow type="math_number">' +
//       '<field name="NUM">255</field>' +
//     '</shadow>' +
//   '</value>' +
// '</block>'+
'<block type="md_irinit" id="md_irinit">'+
'</block>'+
'<block type="md_isirremote" id="md_isirremote">'+
'</block>'+
'<block type="md_irpress" id="md_irpress">'+
'</block>'+
'<block type="md_irpress2" id="md_irpress2">'+
'</block>'+
'<block type="md_buzzerinit" id="md_buzzerinit">'+
'</block>'+
'<block type="md_buzzerplay" id="md_buzzerplay">'+
'</block>'+
'<block type="md_ulinit" id="md_ulinit">'+
'</block>'+
'<block type="md_ulplay" id="md_ulplay">'+
'</block>'+
'<block type="md_ps2init" id="md_ps2init">'+
'</block>'+
'<block type="ps2status" id="ps2status">'+
'</block>'+
'<block type="md_ps2pressed" id="md_ps2pressed">'+
'</block>'+
'<block type="md_ps2press" id="md_ps2press">'+
'</block>'+
'<block type="md_ps2getrockervalue" id="md_ps2getrockervalue">'+
'</block>'+
'<block type="md_ps2getrockervalue2" id="md_ps2getrockervalue2">'+
'</block>'+
'<block type="md_nrf24l01send" id="md_nrf24l01send">'+
	'<value name="address">' +
		'<shadow type="text">' +
			'<field name="TEXT">MotorDriver</field>' +
		'</shadow>' +
    '</value>' +
    '<value name="channel">' +
		'<shadow type="math_number">' +
			'<field name="NUM">90</field>' +
		'</shadow>' +
    '</value>' +
    '<value name="arr">' +
		'<shadow type="text">' +
			'<field name="TEXT"></field>' +
		'</shadow>' +
    '</value>' +
'</block>'+

'<block type="md_makearr" id="md_makearr">'+
	'<value name="arrname">' +
		'<shadow type="text">' +
			'<field name="TEXT">list</field>' +
		'</shadow>' +
    '</value>' +
    '<value name="arrnum">' +
		'<shadow type="text">' +
			'<field name="TEXT">4</field>' +
		'</shadow>' +
    '</value>' +
'</block>'+
'<block type="md_setarr" id="md_setarr">'+
	'<value name="arrname2">' +
		'<shadow type="text">' +
			'<field name="TEXT">list</field>' +
		'</shadow>' +
    '</value>' +
    '<value name="arrno2">' +
		'<shadow type="text">' +
			'<field name="TEXT">1</field>' +
		'</shadow>' +
    '</value>' +
'</block>'+
'<block type="md_setarr2" id="md_setarr2">'+
	'<value name="arrname22">' +
		'<shadow type="text">' +
			'<field name="TEXT">list</field>' +
		'</shadow>' +
    '</value>' +
    '<value name="arrno22">' +
		'<shadow type="math_number">' +
			'<field name="NUM">1</field>' +
		'</shadow>' +
    '</value>' +
	'<value name="arrvalue">' +
		'<shadow type="math_number">' +
			'<field name="NUM"></field>' +
		'</shadow>' +
    '</value>' +
'</block>'+
'<block type="md_nrf24l01send2" id="md_nrf24l01send2">'+
	'<value name="nrfdata2">' +
		'<shadow type="text">' +
			'<field name="TEXT"></field>' +
		'</shadow>' +
    '</value>' +
'</block>'+
'<block type="md_nrf24l01send2isok" id="md_nrf24l01send2isok">'+
'</block>'+
'<block type="md_nrf24l01send2isrec" id="md_nrf24l01send2isrec">'+
'</block>'+
'<block type="md_nrf24l01rec2" id="md_nrf24l01rec2">'+
	'<value name="nrfdata3">' +
		'<shadow type="text">' +
			'<field name="TEXT"></field>' +
		'</shadow>' +
    '</value>' +
'</block>'+
'<block type="md_m4init" id="md_m4init">'+
	'<field name="M4Ports1">2</field>' +
	'<field name="M4Ports2">1</field>' +
	'<field name="M4Ports3">4</field>' +
	'<field name="M4Ports4">3</field>' +
'</block>'+
/*
'<block type="md_m4goforward" id="md_m4goforward">'+
  '<value name="m4speed1">' +
    '<shadow type="math_number">' +
      '<field name="NUM">100</field>' +
    '</shadow>' +
  '</value>' +
'</block>'+
'<block type="md_m4backforward" id="md_m4backforward">'+
  '<value name="m4speed2">' +
    '<shadow type="math_number">' +
      '<field name="NUM">100</field>' +
    '</shadow>' +
  '</value>' +
'</block>'+
'<block type="md_m4turnleft" id="md_m4turnleft">'+
  '<value name="m4speed3">' +
    '<shadow type="math_number">' +
      '<field name="NUM">100</field>' +
    '</shadow>' +
  '</value>' +
'</block>'+
'<block type="md_m4turnright" id="md_m4turnright">'+
  '<value name="m4speed4">' +
    '<shadow type="math_number">' +
      '<field name="NUM">100</field>' +
    '</shadow>' +
  '</value>' +
'</block>'+
'<block type="md_m4turnlefts" id="md_m4turnlefts">'+
  '<value name="m4speed33">' +
    '<shadow type="math_number">' +
      '<field name="NUM">100</field>' +
    '</shadow>' +
  '</value>' +
'</block>'+
'<block type="md_m4turnrights" id="md_m4turnrights">'+
  '<value name="m4speed44">' +
    '<shadow type="math_number">' +
      '<field name="NUM">100</field>' +
    '</shadow>' +
  '</value>' +
'</block>'+
'<block type="md_m4godegree" id="md_m4godegree">'+
  '<value name="m4godegree">' +
    '<shadow type="math_number">' +
      '<field name="NUM">90</field>' +
    '</shadow>' +
  '</value>' +
  '<value name="m4gospeed">' +
    '<shadow type="math_number">' +
      '<field name="NUM">100</field>' +
    '</shadow>' +
  '</value>' +
'</block>'+
'<block type="md_m4stop" id="md_m4stop">'+
'</block>'+*/
'<block type="md_bluetoothinit" id="md_bluetoothinit">' +
'</block>' +
'<block type="md_receivedata" id="md_receivedata">' +
'</block>' +
'<block type="md_receiveddata" id="md_receiveddata">' +
'</block>' +
'<block type="md_bluetoothKeyPress" id="md_bluetoothKeyPress">' +
'</block>' +
'<block type="md_bluetoothstyle" id="md_bluetoothstyle">' +
'</block>' +
'<block type="md_bluetoothgetdegree" id="md_bluetoothgetdegree">' +
'</block>' +
'<block type="md_nrfinit" id="md_nrfinit">' +
    '<value name="nrfadd">' +
    '<shadow type="text">' +
      '<field name="TEXT">MotorDriver</field>' +
    '</shadow>' +
  '</value>' +
'</block>' +
'<block type="md_nrfdataready" id="md_nrfdataready">' +
'</block>' +
'<block type="md_nrfvalue" id="md_nrfvalue">' +
'</block>' +
'<block type="md_nrfgetdata" id="md_nrfgetdata">' +
'</block>' +
'<block type="md_nrfgetpackage" id="md_nrfgetpackage">' +
'</block>' +
'<block type="md_nrfnewob" id="md_nrfnewob">' +
'</block>' +
'<block type="md_nrfdatafun" id="md_nrfdatafun">' +
'</block>' +
'<block type="md_nrfbuttons" id="md_nrfbuttons">' +
'</block>' +
'<block type="md_nrfgetdegree" id="md_nrfgetdegree">' +
'</block>' +
'<block type="md_nrfgetspeed" id="md_nrfgetspeed">' +
'</block>' +
'</category>'
;

    const categoriesXML = `
            ${Xml}
        `;
    return categoriesXML;
};

module.exports = motion() ;
